package com.ssl.rms.mapper;

import com.ssl.rms.entity.Menu;
import com.ssl.rms.entity.MenuExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author ssl
 */
public interface MenuMapper extends BaseMapper<Menu, MenuExample> {
    /**
     * 获取用户拥有的的菜单集合
     *
     * @param map{userId:xx,type:xxx}
     * @return
     */
    List<Menu> selectMenus(Map<String, Object> map);
}